home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
do1003.zip
/
ES.SCR
< prev
next >
Wrap
Text File
|
1991-11-20
|
963b
|
29 lines
*┌────────────────────────────────────────────────────────────┐
*│SCRIPT: ES This script invokes the DO.MAC file and then │
*│ calls your default editor to edit a script. │
*│ The macros will remain in effect even in your │
*│ editor. (Be sure to test this, it is not │
*│ guaranteed that it will work with ALL editors. │
*└────────────────────────────────────────────────────────────┘
* Check to be sure user has entered a filename
/IF %ES01 EQ "" CheckExtension
*
* If a filename was not passed to the script, prompt for one
/SET Default ""
.clr
Enter a scriptname. Press »bo«<Enter>»#« to abort.
/GETS ES01 Default "»ye«Script»gy«:»#«" 40 UC
*
* Check the name to see if it has an extension
:CheckExtension
* If it's NULL, exit
/IF %ES01 NE "" End
/IF %ES01 NL "*.*" EditFile
/SET ES01 %ES01.SCR
:EditFile
/MACROS ON DO.MAC
/EDIT %ES01
/MACROS OFF
:End
* End of Script